package com.upcode.weighing.service;

import com.upcode.weighing.domain.AppInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.upcode.weighing.vo.req.AppEidtionRecordReqVo;
import com.upcode.weighing.vo.req.PageReqVo;
import com.upcode.weighing.vo.req.pc.AppEidtionRecordVo;
import com.upcode.weighing.vo.resp.PageRespVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author alex
 * @since 2024-07-21
 */
public interface AppInfoService extends IService<AppInfo> {
    /**
     * 根据条件查询APP版本列表
     * @param vo
     * @return
     */
    PageRespVo<AppEidtionRecordVo> queryPageList(PageReqVo<AppEidtionRecordReqVo> vo, String appPackDownloadPath);

    /**
     * 启用禁用APP版本
     * @param id
     * @param status
     * @return
     */
    boolean enableAppEidtion(String id, String status, String serverUrl, String profile);

    /**
     * 删除APP版本信息
     * @param id
     * @return
     */
    boolean deleteAppEidtion(String id);
}
